package com.sc.nft.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.Version;
import com.sc.nft.enums.ecologypool.EcologyPoolRedPackAuditStatusEnum;
import com.sc.nft.enums.ecologypool.EcologyPoolRedPackMechanismEnum;
import com.sc.nft.enums.ecologypool.EcologyPoolRedPackTypeEnum;
import com.sc.nft.sup.SuperEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 品牌红包(sc_dao_redpack)实体类
 *
 * @author jinpinhai
 * @description Generator
 * @since 2024-08-10 11:40:15
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_ecology_pool_red_pack")
public class EcologyPoolRedPack extends SuperEntity<EcologyPoolRedPack> implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * daoId
     */
    private Long daoId;
    /**
     * 活动名称
     */
    private String name;
    /**
     * 奖励机制(1:等额分配,2:随机分配)
     */
    private EcologyPoolRedPackMechanismEnum mechanism;
    /**
     * 奖励类型(1:生态积分)
     */
    private EcologyPoolRedPackTypeEnum type;
    /**
     * 活动开始时间
     */
    private Date startTime;
    /**
     * 活动结束时间
     */
    private Date endTime;
    /**
     * 规则
     */
    private String activeRule;
    /**
     * 参与条件(0:无,1:有)
     */
    private Boolean participate;
    /**
     * 参与次数
     */
    private Integer participateNumber;
    /**
     * 活动状态(0:关闭,1:开启)
     */
    private Boolean status;
    /**
     * 审核状态(1:审核中,2:审核通过,3:审核拒绝)
     */
    private EcologyPoolRedPackAuditStatusEnum auditStatus;

    /**
     * 退还状态
     */
    private Boolean refundStatus;
    /**
     * 拒绝原因
     */
    private String rejectReason;
    /**
     * 乐观锁版本号
     */
    @Version
    private Integer version;

}